<!DOCTYPE html>
<html>
<body>
<template id="target-template">
<svg width="90" height="90">
<defs>
<marker class="target" />
</defs>
</svg>
</template>
<script src="resources/interpolation-test.js"></script>
<script>
'use strict';
assertAttributeInterpolation({
  property: 'viewBox',
  from: '-10, 20, 80, 90',
  to: '-20, 30, 70, 80'
}, [
  {at: -0.4, is: '-6, 16, 84, 94'},
  {at: 0, is: '-10, 20, 80, 90'},
  {at: 0.2, is: '-12, 22, 78, 88'},
  {at: 0.6, is: '-16, 26, 74, 84'},
  {at: 1, is: '-20, 30, 70, 80'},
  {at: 1.4, is: '-24, 34, 66, 76'}
]);
</script>
</body>
</html>
